package com.woniuxy.caradmin.service;

import com.woniuxy.caradmin.entity.pojo.Troublerecord;

import com.woniuxy.caradmin.entity.vo.TroublerecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
public interface TroublerecordService {
    //分页查询事故
    public List<Troublerecord> selectAllByPage(TroublerecordVo troublerecordVo);
    //提交事故记录
    public int addTroublerecord (Troublerecord troublerecord);
    //更新事故记录
    public int updateTroublerecord(Troublerecord troublerecord);
    //删除事故记录
    public boolean removeT( Integer[] id);
    //id查询事故记录
    public Troublerecord selecTroubleById( Integer id);

}
